home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus Extra 1997 #2
/
Amiga Plus Extra 1997 #2.iso
/
pd
/
misc
/
amis
/
scripts
/
hunt.rexx
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
OS/2 REXX Batch file
|
1997-02-16
|
313 b
|
21 lines
/* AMIS File hunter */
OPTIONS RESULTS
/*address 'AMISPORT.1'*/
'GetLine'
if(left(result,8)='#include') then
do
PARSE VAR result . '<' File '>'
if(File="") then
do
PARSE VAR result . '"' File '"'
end
File='Include:'||File
if(exists(File)) then
do
'File NAME="'||File||'" OPEN'
end
end